const express = require('express')
const homeRouter = require('./router/home')
const loginRouter = require('./router/login')

const app = express()
// 设置路由
app.use(homeRouter).use(loginRouter)

app.listen(3000, () => {
  console.log('启动成功')
})
